{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "练习3\n",
    "\n",
    "把大于100的数删掉，并且按从小到大排序"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "练习5\n",
    "\n",
    "输出学生的年龄"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "student = {'name':'莱克', 'age':'12', 'class':'201', 'gental':'男'}\n",
    "print(???)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "练习6\n",
    "\n",
    "新学期开始，需要更新所有学生的年龄，所有人年龄都加一岁。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "student_list=[\n",
    "    {'名字':'莱克', '年龄':'12', '班级':'201', '性别':'男'},\n",
    "    {'名字':'欣欣', '年龄':'12', '班级':'202', '性别':'女'},\n",
    "    {'名字':'紫琪', '年龄':'12', '班级':'202', '性别':'女'},\n",
    "    {'名字':'浩然', '年龄':'12', '班级':'201', '性别':'男'},\n",
    "    {'名字':'曹军', '年龄':'12', '班级':'202', '性别':'男'},\n",
    "    {'名字':'倩倩', '年龄':'12', '班级':'201', '性别':'女'}\n",
    "] \n",
    "for student in student_list:\n",
    "    student['年龄'] = ???\n",
    "    print(student)\n",
    "\n",
    "# print(student_list)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "练习7\n",
    "\n",
    "题目：求s=a+aa+aaa+aaaa+aa...a的值，其中a是一个数字。例如2+22+222+2222+22222(此时共有5个数相加)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.7"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
